#!/usr/bin/env node

const cp = require('child_process');
     
let child = cp.spawn('./03-child.js',[],{detach:true,
  stdio:['ignore',1,2]});

//ild.stdout.pipe(process.stdout);
child.unref();

console.log(`father process${process.pid}`);
setTimeout(()=>{
  console.log('Bye');
  process.exit();
},5000);
